{include file="public/layout" /}
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 
<span class="c-gray en">&gt;</span> 系统管理
<span class="c-gray en">&gt;</span> 基本配置
<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i>
</a>
</nav>
<article class="page-container" style="margin-top: 50px;">
    <form class="form form-horizontal" id="self_buy_rate" action="{:url('Admin/configs/setting')}" method="post">
    <input type="hidden" name="id" value="{$info.id}">
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>自购返佣比例：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="self_buy_rate" id="self_buy_rate" value="{$info.self_buy_rate ? $info.self_buy_rate : ''}" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>公司比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="company_rate" id="company_rate" value="{$info.company_rate ? $info.company_rate : ''}" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>黄金会员贡献值比例：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="ccq_rate" value="{$info.ccq_rate ?  $info.ccq_rate : ''}" id="ccq_rate" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>铂金会员贡献值比例：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="ccq_rate_2" value="{$info.ccq_rate_2 ?  $info.ccq_rate_2 : ''}" id="ccq_rate_2" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>钻石会员贡献值比例：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="ccq_rate_3" value="{$info.ccq_rate_3 ?  $info.ccq_rate_3 : ''}" id="ccq_rate_3" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>贡献值基数：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="ccq_base" value="{$info.ccq_base ? $info.ccq_base : ''}" id="ccq_base" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">输入整型</span>
        </div>
    </div>
        <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下载链接：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="download_link" value="{$info.download_link ? $info.download_link : ''}" id="download_link" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">输入APP应用的下载地址</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3">下载链接二维码 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="download_link_qrcode" value="{$info.download_link_qrcode ? $info.download_link_qrcode : ''}" id="qrcode" style="width: 60%;">
            <button class="btn btn-secondary radius" type="button" onclick="GetUploadify(1,'','qrcode','img_call_back')">上传</button>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下八级总比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="totalnext8" value="{$info.totalnext8 ? $info.totalnext8 : 0}" id="totalnext8" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下一级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_1" value="{$info.next_1 ? $info.next_1 : 0}" id="next_1" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下二级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_2" value="{$info.next_2 ? $info.next_2 : 0}" id="next_2" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下三级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_3" value="{$info.next_3 ? $info.next_3 : 0}" id="next_3" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下四级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_4" value="{$info.next_4 ? $info.next_4 : 0}"  id="next_4" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下五级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_5" value="{$info.next_5 ? $info.next_5 : 0}"  id="next_5" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下六级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_6" value="{$info.next_6 ? $info.next_6 : 0}" id="next_6" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下七级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_7" value="{$info.next_7 ? $info.next_7 : 0}" id="next_7" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下八级分佣比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="next_8" value="{$info.next_8 ? $info.next_8 : 0}" id="next_8" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>公排佣金比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="gongpai_rate" value="{$info.gongpai_rate ? $info.gongpai_rate : 0}" id="gongpai_rate" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>上一层佣金比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="upper_rate" value="{$info.upper_rate ? $info.upper_rate : 0}" id="upper_rate" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>提现手续费比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="withdraw_rate" value="{$info.withdraw_rate ? $info.withdraw_rate : 0}" id="withdraw_rate" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>平台手续费比例 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="comm_rate" value="{$info.comm_rate ? $info.comm_rate : 0}" id="comm_rate" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>最低提现金额 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="min_withdraw" value="{$info.min_withdraw ? $info.min_withdraw : 0}" id="min_withdraw" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">填百分号前的整数,如20%,则填写20即可</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>黄金节点介绍 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="level_1_introduce" value="{$info.level_1_introduce ? $info.level_1_introduce : ''}" id="level_1_introduce" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">请按照当前示范格式进行修改,不要删除‘-’</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>铂金节点介绍 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="level_2_introduce" value="{$info.level_2_introduce ? $info.level_2_introduce : ''}" id="level_2_introduce" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">请按照当前示范格式进行修改,不要删除‘-’</span>
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>钻石节点介绍 ：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="level_3_introduce" value="{$info.level_3_introduce ? $info.level_3_introduce : ''}" id="level_3_introduce" style="width: 60%;">
            <span style="background-color: #76DA6B; color: #fff;">请按照当前示范格式进行修改,不要删除‘-’</span>
        </div>
    </div>
    <div class="row cl">
        <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
            <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">&nbsp;&nbsp;
             <input class="btn btn-success radius" type="button" value="&nbsp;&nbsp;返回上一页&nbsp;&nbsp;" onclick="javascript:history.go(-1);">
        </div>
    </div>
    </form>
</article>
{include file="public/footer" /}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/public/h-ui.admin/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
<script type="text/javascript" src="/public/h-ui.admin/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
<script type="text/javascript" src="/public/h-ui.admin/lib/jquery.validation/1.14.0/messages_zh.js"></script> 
<script type="text/javascript">
$(function(){
    
    $("#form-submit").validate({
        rules:{
            self_buy_rate:{
                required:true,
            },
        },
        onkeyup:false,
        focusCleanup:true,
        success:"valid",
    });
});

function img_call_back(fileurl_tmp)
{
      $("#qrcode").val(fileurl_tmp);
}
</script> 
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>